﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;

namespace HpxWMS_Api.Tools
{
    public class Md5Helper
    {
        public static string MD5Encrypt16(string pwd)
        {
            pwd = "Hpx" + pwd + "Hpx";
            var md5 = new MD5CryptoServiceProvider();
            string cipherText = BitConverter.ToString(md5.ComputeHash(Encoding.Default.GetBytes(pwd)));
            cipherText = cipherText.Replace("-", "");
            return cipherText;

        }
    }
}